package com.xy.adapter.springmvc;

//多种Controller实现  
public interface Controller {
	void doHandler();
}

class HttpController implements Controller {
	@Override
	public void doHandler() {
		System.out.println("http...");
	}
}

class SimpleController implements Controller {
	@Override
	public void doHandler() {
		System.out.println("simple...");
	}
}

class AnnotationController implements Controller {
	@Override
	public void doHandler() {
		System.out.println("annotation...");
	}
}
